package com.ruoyi.users.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学习计划对象 u_study_plans
 *
 * @author Amy
 * @date 2024-12-03
 */
public class UStudyPlans extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 计划ID */
    private Long id;

    /** 用户ID */
    private Long uId;

    /** 标题 */
    @Excel(name = "标题")
    private String topic;

    /** 内容ID */
    private Long cId;

    /** $column.columnComment */
    private Long bId;

    /** $column.columnComment */
    private Long hId;

    /** 计划完成与否 */
    @Excel(name = "计划完成与否")
    private Long status;

    /** 计划内容 */
    @Excel(name = "计划内容")
    private String content;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setuId(Long uId)
    {
        this.uId = uId;
    }

    public Long getuId()
    {
        return uId;
    }
    public void setTopic(String topic)
    {
        this.topic = topic;
    }

    public String getTopic()
    {
        return topic;
    }
    public void setcId(Long cId)
    {
        this.cId = cId;
    }

    public Long getcId()
    {
        return cId;
    }
    public void setbId(Long bId)
    {
        this.bId = bId;
    }

    public Long getbId()
    {
        return bId;
    }
    public void sethId(Long hId)
    {
        this.hId = hId;
    }

    public Long gethId()
    {
        return hId;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("uId", getuId())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("remark", getRemark())
                .append("topic", getTopic())
                .append("cId", getcId())
                .append("bId", getbId())
                .append("hId", gethId())
                .append("status", getStatus())
                .append("content", getContent())
                .toString();
    }
}
